package homework4;

public  abstract class pizza {
	//名称
		private String name;
		//价格
		private double price;
		//大小
		private int size;

		public void Pizza() {

		}

		public void Pizza(String name, double price, int size) {
			this.name = name;
			this.price = price;
			this.size = size;
		}
		
		//比萨制作抽象方法
		public abstract void make();

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public double getPrice() {
			return price;
		}

		public void setPrice(double price) {
			this.price = price;
		}

		public int getSize() {
			return size;
		}

		public void setSize(int size) {
			this.size = size;
		}
		
		
		


	
		 
	 }
	
	
	
	
	

